package com.lone.design.pattern.creational.builder;

/**
 * @author Lone
 * @date 2021/9/24 15:45 周五
 */
public class MobikeBuilder extends Builder{
    @Override
    public void buildFrame() {
        bike.setFrame("碳纤维车架");
    }

    @Override
    public void buildSeat() {
        bike.setSeat("真皮车座");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}
